@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.app-header {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.todo-card {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.todo-card:hover {
  transform: translateY(-4px);
}

.todo-card .ant-card-body {
  padding: 20px;
}

.todo-card .ant-card-actions {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: transparent;
}

.ant-switch {
  background: rgba(0, 0, 0, 0.2);
}

.ant-switch-checked {
  background: #60a5fa !important;
}

.add-todo-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 8px;
  height: 56px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
}

.add-todo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -4px rgba(37, 99, 235, 0.2);
}

.todo-tag {
  border-radius: 6px;
  padding: 2px 8px;
  font-weight: 500;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.todo-item-enter {
  animation: fadeIn 0.3s ease-out forwards;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.achievement-modal .ant-modal-content {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.achievement-modal .ant-modal-close {
  top: 16px;
  right: 16px;
}

.achievement-modal .ant-modal-close-x {
  width: 32px;
  height: 32px;
  line-height: 32px;
}

.achievement-stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(2px 2px at 20px 30px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 40px 70px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 50px 160px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 90px 40px, #FFD700, rgba(0,0,0,0)),
    radial-gradient(2px 2px at 130px 80px, #FFD700, rgba(0,0,0,0));
  animation: twinkle 5s infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: confetti-fall 3s linear infinite;
}

.confetti-0 {
  background: #2563eb;
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.confetti-1 {
  background: #60a5fa;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

.confetti-2 {
  background: #FFD700;
  clip-path: circle(50% at 50% 50%);
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100%) rotate(0deg);
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
  }
} 